home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 3.7 / Buddy API Docs.swf / texts / 1500.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  1.6 KB  |  83 lines

  1. 112
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. CreateFolder 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows and Macintosh
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baCreateFolder creates a new folder.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baCreateFolder( FolderName )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String 
  36. --- RECORDSEPARATOR ---
  37. FolderName is the folder to create.
  38. --- RECORDSEPARATOR ---
  39.  
  40. --- RECORDSEPARATOR ---
  41. Returns:
  42. --- RECORDSEPARATOR ---
  43.  
  44. --- RECORDSEPARATOR ---
  45. Integer. 
  46. --- RECORDSEPARATOR ---
  47. Returns 1 if the folder was successfully created or already exists, else 0.
  48. --- RECORDSEPARATOR ---
  49.  
  50. --- RECORDSEPARATOR ---
  51. Examples:
  52. --- RECORDSEPARATOR ---
  53.  
  54. --- RECORDSEPARATOR ---
  55. Director: 
  56. --- RECORDSEPARATOR ---
  57. set OK = baCreateFolder( "c:\data\courses" ) 
  58. --- RECORDSEPARATOR ---
  59. Authorware: 
  60. --- RECORDSEPARATOR ---
  61. OK := baCreateFolder( "c:\\data\\courses" )
  62. --- RECORDSEPARATOR ---
  63.  
  64. --- RECORDSEPARATOR ---
  65. Notes:
  66. --- RECORDSEPARATOR ---
  67.  
  68. --- RECORDSEPARATOR ---
  69. This function will create any intermediate folders that are needed. For example, 
  70. --- RECORDSEPARATOR ---
  71. baCreateFolder( "c:\data\courses\biology" ) will create "c:\data", then 
  72. --- RECORDSEPARATOR ---
  73. "c:\data\courses", then "c:\data\courses\biology".
  74. --- RECORDSEPARATOR ---
  75.  
  76. --- RECORDSEPARATOR ---
  77. See also:
  78. --- RECORDSEPARATOR ---
  79.  
  80. --- RECORDSEPARATOR ---
  81. baFolderExists 
  82. --- RECORDSEPARATOR ---
  83. baDeleteFolder